<?php

namespace app\common\enums;

class AppointmentStatusEnum extends BaseEnum
{
    // 定义常量
    public const PENDING_CLASS = '1';
    public const SK_IN = '2';
    public const CANCEL = '3';
    public const END = '4';
    public const EXPIRED = '5';

    // 定义描述
    public array $description = [
        self::PENDING_CLASS => '待上课',
        self::SK_IN => '上课中',
        self::CANCEL => '已取消',
        self::END => '已结束',
        self::EXPIRED => '已过期',
    ];
}
